<template>
	<view>
		<input class="uni-input" :name="name" placeholder="姓名" />
		<input class="uni-input" :name="idNum" placeholder="身份照" />
		<input class="uni-input" :name="cardNo" placeholder="银行卡号" />
	</view>
</template>

<script>
	export default {
		data() {
			return {
				data: {
					"name": "江冠驰",
					"idNum": "130429200607185858",
					"cardNo": "6235010911500372794"
				},

			}
		},
		mounted() {

		},
		onLoad() {

		},
		methods: {
			check() {
				wx.request({
					"url": "https://eolink.o.apispace.com/bankcard-3/card-three-auth",
					"method": "POST",
					"header": {
						"X-APISpace-Token": "hlakt510jczrdyi449v0oncsyhe8p9hv",
						"Content-Type": "application/x-www-form-urlencoded"
					},
					"data": data,
					"success": (response) => {
						console.log(response.data)
					}
				})
			}
		}

	}
</script>

<style>
</style>